home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
TPUG - Toronto PET Users Group
/
TPUG Users Group CD
/
TPUG Users Group CD.iso
/
C64
/
E-Education
/
(c)ed32.d64
/
unit a-12
(
.txt
)
< prev
next >
Wrap
Commodore BASIC
|
2007-02-04
|
4KB
|
122 lines
200 PRINT"[147][159]";:POKE53272,21:POKE53280,0:POKE53281,0
201 PRINT" WHC ENTERPRISES ":GOSUB591
202 PRINT" [146]";
203 PRINT" [146]";
204 PRINT" [146]";
205 PRINT" ENGLISH EXERCISES - A [146]";
206 PRINT" [146]";
207 PRINT" UNIT A-12 [146]";
208 PRINT" [146]";
209 PRINT"[159] [146]";
210 PRINT" [146]"
211 GOSUB235
214 PRINT"[147] AND AWAY WE GO........":GOSUB591:GOSUB500:GOSUB590
215 GOTO1000
235 GOSUB591:GOSUB560
236 PRINT"[154] PRESS SPACE BAR TO CONTINUE [146][155]"
237 GETUI$:IFUI$<>CHR$(32)THEN237
238 RETURN
250 REM PAGE DESIGN ROUTINE
252 UP=UP+1
255 PRINT"[147]"LEFT$(UT$+UP$,21);RIGHT$(UP$+UG$+STR$(UP),18)
260 PRINT" --------------------------------------"
265 PRINTLEFT$(UD$,24);LEFT$(UP$,7);"ANSWER, THEN PRESS RETURN"
299 :
500 REM <YES>
505 SS=54272:FOREE=SSTOSS+28:POKEEE,0:NEXT
510 POKE54296,15:POKE54277,42:POKE54278,250
515 POKE54276,23:POKE54273,23:POKE54272,191
520 FORTM=1TO150:NEXT:POKE54276,32:FORTM=1TO200:NEXT
525 POKE54296,0:RETURN
530 REM <NO>
535 SS=54272:FOREE=SSTOSS+28:POKEEE,0:NEXT
540 POKE54296,15:POKE54277,18:POKE54278,242
545 POKE54276,33:POKE54273,4:POKE54272,48
550 FORTM=1TO300:NEXT:POKE54276,32:FORTM=1TO400:NEXT
555 POKE54296,0:RETURN
560 REM <BLIP>
565 SS=54272:FOREE=SSTOSS+28:POKEEE,0:NEXT
570 POKE54296,7:POKE54277,42:POKE54278,250
575 POKE54276,23:POKE54273,23:POKE54272,191
580 FORTM=1TO30:NEXT:POKE54276,32:FORTM=1TO50:NEXT
585 POKE54296,0:RETURN
590 FORTM=1TO500:NEXT:RETURN
591 FORTM=1TO1000:NEXT:RETURN
592 FORTM=1TO2000:NEXT:RETURN
593 FORTM=1TO3000:NEXT:RETURN
999 :
1000 PRINT"[147]";:RESTORE:POKE53281,0:POKE53280,0
1045 UP= 1
1050 P=UM:C=8:H=0
1830 FORJ=1TOC
1840 READQ$(J),A$(J)
1845 PRINT"[152][147] UNIT A-12 ATTEMPTS MADE: ";H;"[155]"
1850 GOSUB591:PRINT"[159] ";Q$(J)
1860 GOSUB2300:GOSUB560
1870 INPUT"[158] >>> ";SA$
1880 IFSA$=A$(J)GOTO1960
1885 IF Z=2THENGOSUB3000:H=H+1:GOTO1980
1890 Z=Z+1
1895 PRINT"[147][150] SORRY.":GOSUB590
1900 PRINT" YOUR ANSWER IS NOT CORRECT.":H=H+1:GOSUB530:GOSUB591
1910 PRINT"[153] TRY AGAIN.[155]"
1930 GOSUB592
1940 GOTO1845
1960 H=H+1:PRINT""SPC(24)" CORRECT! ":GOSUB591
1970 PRINTSPC(24)" VERY GOOD [155]"
1980 GOSUB500:GOSUB592:
1990 NEXTJ
1999 :
2000 PRINT"[147]YOU HAVE NOW FINISHED EXERCISE 4-12.":GOSUB591:GOSUB560
2005 PRINT"YOU HAVE ANSWERED ";C;" QUESTIONS"
2010 PRINT" IN ";H;" ATTEMPTS."
2020 IFH<9THENPRINT"[158] EXCELLENT! [146]":GOTO2050
2030 IFH<10THENPRINT"[159] GOOD WORK! [146]":GOTO2045
2040 PRINT"[150] TRY HARDER! PLEASE REPPEAT THIS UNIT [146]"
2045 PRINT"":GOSUB235:GOTO2200
2050 PRINT"":GOSUB235
2055 PRINT"[153][147]YOU HAVE A CHOICE:
2060 [153]"PRESS R WAIT TO REPEAT UNIT A-12
2065 PRINT"PRESS M [146] TO GO TO THE DISK MENU
2070 [161]R$:[139]R$[179][177]"R"[175]R$[179][177]"M"[167]2070
2075 [139]R$[178]"R"[167] [140]:[137]200
2080 [153]"LOAD RETURNING TO THE DISK MENU
2085 LOAD"MENU",8
2090 RUN
2095 END
2099 :
2100 REM
2110 DATATHE DULL SAW WAS A -------- TO HIS WORK.,DRAWBACK
2115 DATATHE TEACHER WILL -------- THEM.,ENLIGHTEN
2120 DATATHE JURY WILL ------ BEFORE REACHING A VERDICT.,DELIBERATE
2125 DATADON'T ------- YOUR MOTHER.,DISAPPOINT
2130 DATATHAT LIAR HAS NO -------.,CONSCIENCE
2135 DATAPLEASE ------- THE STAIRS.,DESCEND
2140 DATATHE FALLEN APPLES ----- ON THE GROUND.,DECAYED
2145 DATASHE DREW AN ------- TRIANGLE.,EQUILATERAL
2199 :
2200 PRINT"[147] HERE ARE THE WORDS IN UNIT A-12:":GOSUB560:GOSUB593
2210 PRINT"[159][147]1. THE DULL SAW WAS A [158]DRAWBACK TO HIS WORK.
2220 [153]"2. THE TEACHER WILL SYSENLIGHTEN THEM.
2230 PRINT"3. THE JURY WILL [158]DELIBERATE BEFORE REACHING A VERDICT.
2240 [153]"4. DON'T SYSDISAPPOINT YOUR MOTHER.
2250 PRINT"5. THAT LIAR HAS NO [158]CONSCIENCE.
2260 [153]"6. PLEASE SYSDESCEND THE STAIRS.
2270 PRINT"7. THE FALLEN APPLES [158]DECAYED ON THE GROUND.
2280 [153]"8. SHE DREW AN SYSEQUILATERAL TRIANGLE."
2290 [141]235:[137]20055
2299 :
2300 [153]"CONT LENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLENLEN"
2310 [153]" CHOOSE YOUR ANSWER FROM THE FOLLOWING:PRINT"
2320 [153][166]12)" CONSCIENCE ":[153][166]12)" DECAYED "
2330 [153][166]12)" DESCEND ":[153][166]12)" DRAWBACK "
2340 [153][166]12)" DELIBERATE ":[153][166]12)" ENLIGHTEN "
2350 [153][166]12)" EQUILATERAL":[153][166]12)" DISAPPOINT ":[142]
3000 [153]"LOAD"
3005 [141]591
3010 Z[178]0:[153]" I WILL SHOW YOU THE CORRECT ANSWER
3015 PRINT" AT THE END OF THIS EXERCISE.":GOSUB530:GOSUB592
3020 PRINT" NOW, LET'S MOVE ON THE NEXT ONE."
3025 GOSUB235:RETURN
3500 REM WHC 92:05:23